package org.example.bridge;

/**
 * @author wangbin
 * @date 2024/4/18
 * @vesion 1.0
 */
public class Client {
    public static void main(String[] args) {
        Phone foldedPhone = new FoldedPhone(new XiaoMi());

        foldedPhone.open();
        foldedPhone.cell();
        foldedPhone.close();

        Phone upPhone = new UpPhone(new XiaoMi());

        upPhone.open();
        upPhone.cell();
        upPhone.close();

    }
}
